#ifndef _MAPOBJ_MANAGER_H_
#define _MAPOBJ_MANAGER_H_

#include "../share/common_singleton.h"
#include "../share/gameobj_manager.h"

#include "obj_define.h"
#include "Player.h"
#include "../share/session.h"
#include "scene_instance.h"
#include "Monster.h"


class CMAPObjManager : 
	public ::common::CGameObjectManager< OBJTYPE_END >,
	public ::common::CSingleton< CMAPObjManager >
{
public:
	virtual bool Initialize( );
private:
	::common::CObjectPool< Player, OBJTYPE_PLAYER > player_pool_;
	::common::CObjectPool< CSceneInstance, OBJTYPE_SCENE > scene_pool_;
	::common::CObjectPool< Monster, OBJTYPE_CREATURE > creature_pool_;
};

#endif


